Skip to content

Instantly share code, notes, and snippets.

@rohitg00
rohitg00 / llm-wiki.md
Last active July 5, 2026 04:41 — forked from karpathy/llm-wiki.md
LLM Wiki v2 — extending Karpathy's LLM Wiki pattern with lessons from building agentmemory

LLM Wiki v2

A pattern for building personal knowledge bases using LLMs. Extended with lessons from building agentmemory 20K+ Stars ⭐️, a persistent memory engine for AI coding agents.

This builds on Andrej Karpathy's original LLM Wiki idea file. Everything in the original still applies. This document adds what we learned running the pattern in production: what breaks at scale, what's missing, and what separates a wiki that stays useful from one that rots.

What the original gets right

The core insight is correct: stop re-deriving, start compiling. RAG retrieves and forgets. A wiki accumulates and compounds. The three-layer architecture (raw sources, wiki, schema) works. The operations (ingest, query, lint) cover the basics. If you haven't read the original, start there.

@wassname
wassname / place_labels.py
Created July 5, 2026 04:35
Minimal greedy non-overlapping label placement for plotly (textalloc/D3-Labeler in miniature, deterministic + pixel-offset arrows). No maintained plotly-native labeler exists as of 2025 (plotly.js #4674 open since 2020).
"""Minimal greedy non-overlapping label placement for plotly.
`place_labels` returns plotly annotation dicts that place text labels around
labelled scatter points without overlapping each other or nearby obstacle
markers. No maintained plotly-native label de-overlap exists as of 2025
(plotly.js issue #4674 open since 2020); this is textalloc / D3-Labeler in
miniature, with two deliberate differences:
1. Determinism. The canvas is fixed (fig_w/fig_h/margins) and labels are
placed in input order, so a given (points, obstacles) set always yields
@devinschumacher
devinschumacher / skool-video-downloader-v2.0.0.md
Last active July 5, 2026 04:41
Skool Video Downloader v2.0.0 | How to Download Skool Classroom Video Content for Offline Viewing

Skool Video Downloader v2.0.0 | How to Download Skool Classroom Video Content for Offline Viewing

🔗 Links

@k16shikano
k16shikano / SKILL.md
Last active July 5, 2026 04:36
japanese-tech-writing/SKILL
name japanese-tech-writing
description 日本語の技術文書・書籍原稿の文章規範。整形(一文一行、引用ブロック、脚注、コラム記法)、段落と論証の構成(パラグラフライティング)、論証の厳密さ(ツッコミどころの除去)、読み手の負荷の管理、視点と語り、演出の抑制、LLM っぽい空句の禁止、冗長の排除を定める。日本語で技術書の章、草稿、記事、解説文を書くとき、または推敲・リライトするときに使用する。

日本語技術文書の文章規範

日本語で技術的な原稿(書籍の章、記事、解説文)を書く・推敲するときは、以下の規範に従う。

整形

@billyshub
billyshub / README.md
Last active July 5, 2026 04:34
DIY Ambilight - Hyperion + Android Grabber (+ WLED Option)

Hyperion + Android Grabber Ambilight Setup Guide

Intro

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@ashokvarmamatta
ashokvarmamatta / graphify-mcp-guide.md
Last active July 5, 2026 04:31
🧠 Make Your AI Coding Assistant 500x Smarter — Complete Guide to graphify + code-review-graph + MCP (Knowledge Graphs for Claude Code, Cursor, Windsurf)

🧠 Make Your AI Coding Assistant 500x Smarter

Stop Burning Tokens — Use Knowledge Graphs + MCP to Give AI a Map of Your Code

Typing SVG
@eriknstevenson
eriknstevenson / imgui_impl_raylib.odin
Last active July 5, 2026 04:28 — forked from lucaspoffo/imgui_impl_raylib.odin
Raylib backend for Dear ImGui for the odin bindings
package imgui_impl_raylib
// Based on the raylib extras rlImGui: https://github.com/raylib-extras/rlImGui/blob/main/rlImGui.cpp
/* Usage:
import imgui_rl "imgui_impl_raylib"
import imgui "../../odin-imgui"
main :: proc() {